package jy.hibernate.beans;

import java.util.Set;

/**
 * porter_info entity
 * @author tingzi
 *
 */
public class Porter_info implements java.io.Serializable{
	private static final long serialVersionUID = 3613525673864905447L;
    //Fields
	private Integer porter_info_id;//自增长id 搬运工信息id
	private String p_number;//搬运工在本公司的工号
	private String p_name="";//搬运工名字
	private Integer status=0;//搬运工在岗状态 0为不在岗 1为在岗
	private String telphone="";//搬运工电话号码
	private String c_id="";//	搬运工身份证
	private String address="";//搬运工地址
	private Set<Porter_workload> porter_workloads;
	public Set<Porter_workload> getPorter_workloads() {
		return porter_workloads;
	}
	public void setPorter_workloads(Set<Porter_workload> porter_workloads) {
		this.porter_workloads = porter_workloads;
	}
	public Integer getPorter_info_id() {
		return porter_info_id;
	}
	public void setPorter_info_id(Integer porter_info_id) {
		this.porter_info_id = porter_info_id;
	}
	public String getP_number() {
		return p_number;
	}
	public void setP_number(String p_number) {
		this.p_number = p_number;
	}
	public String getP_name() {
		return p_name;
	}
	public void setP_name(String p_name) {
		this.p_name = p_name;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getTelphone() {
		return telphone;
	}
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	public String getC_id() {
		return c_id;
	}
	public void setC_id(String c_id) {
		this.c_id = c_id;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Porter_info(String p_number, String p_name, String telphone,
			String c_id, String address) {
		super();
		this.p_number = p_number;
		this.p_name = p_name;
		this.telphone = telphone;
		this.c_id = c_id;
		this.address = address;
	}
	@Override
	public String toString() {
		
		return "p_number:"+p_number+"/tp_name:"+p_name+"/ttelphone:"+telphone
		      +"/tc_id:c_id"+"/taddress:"+address;
	}

	
	
	
	
	

	
}
